#ifndef __DHT11
#define __DHT11

#include "config.h"

typedef struct _DHT11 DHT11;

#define DHT11_IO        GPIOB
#define DHT11_PIN       GPIO_Pin_1

//
extern DHT11  *dht11_new_from_global(void);
extern uint8_t dht11_get_value(DHT11 *self);

#endif
